@inject IPageHeadBuilder pagebuilder
@{
    Layout = Constants.Layout_AdminLogin;
    //title
    pagebuilder.AddTitleParts(Loc["Admin.Login.TwoFactor.Title.Login"]);
}
<form asp-action="TwoFactorAuthorization" asp-controller="Login" asp-area="@Constants.AreaAdmin" method="post">
    <div class="card col-xl-6 col-lg-8 col-md-10 col-12">
        <h5 class="card-header">
            <strong>@Loc["Admin.Login.TwoFactorAuth.EnterCode"]</strong>
        </h5>
        <div class="card-body">
            <div class="row">
                <div asp-validation-summary="All" class="col-12 justify-content-around text-danger"></div>
                <div class="col-12 form-group mb-0 d-flex justify-content-around">
                    <div class="form-group row">
                        <div class="col-lg-3 col-12 d-flex align-items-start justify-content-sm-start">
                            <label name="token" class="h5 m-0">@Loc["Admin.Login.TwoFactorAuth.DigitCode"]</label>
                        </div>
                        <div class="col-lg-9 col-12">
                            <input name="token" type="text" class="form-control" autofocus/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="card-footer">
            <div class="buttons">
                <input class="btn btn-info login-button px-5" type="submit" value="@Loc["Admin.Login.TwoFactorAuth.SendCode"]"/>
            </div>
        </div>
    </div>
</form>